﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

/**
 * 创建时间：2014/12/29 10:00:15
 * 作者：yong.blackcore
 * Email：itblackhole@outlook.com
 * QQ：50404503
 */
namespace ComicIsland.Common.Entities.LocalJson
{
    [DataContract]
    public class UserThirdLoginInfo
    {
        #region ComicIsland UserInfo
        [DataMember]
        public int ComicUserId { get; set; }
        #endregion ComicIsland UserInfo

        [DataMember]
        public int ThirdPlatform { get; set; }

        [DataMember]
        public string AccessToken { get; set; }

        [DataMember]
        public string RefleshToken { get; set; }

        [DataMember]
        public string ExpriesIn { get; set; }

        [DataMember]
        public string InsertDateTime { get; set; }


        /// <summary>
        /// 用户第三方编号
        /// QQ:OpenId
        /// </summary>
        [DataMember]
        public string UserId  { get; set; }

        /// <summary>
        /// 第三方原始信息
        /// </summary>
        [DataMember]
        public string DetailInfo { get; set; }

        /// <summary>
        /// 昵称
        /// </summary>
        [DataMember]
        public string ScreenName { get; set; }

        /// <summary>
        /// 头像地址
        /// </summary>
        [DataMember]
        public string ProfileImageUrl { get; set; }

        /// <summary>
        /// 性别
        /// </summary>
        [DataMember]
        public string Gender { get; set; }


        //{"id":1872997893,"idstr":"1872997893","class":1,"screen_name":"国学经典食疗养生楚才书店","name":"国学经典食疗养生楚才书店","province":"11","city":"5","location":"北京 朝阳区","description":"楚才书店竭诚为您提供专业的国学经典、职场励志成功学、心理营销学、养生食疗、妇婴幼儿、家庭教育、考试专用书服务！","url":"http://shop65062777.taobao.com/","profile_image_url":"http://tp2.sinaimg.cn/1872997893/50/40019484811/1","profile_url":"blackcore","domain":"blackcore","weihao":"","gender":"m","followers_count":428,"friends_count":413,"pagefriends_count":0,"statuses_count":1281,"favourites_count":1,"created_at":"Wed Nov 24 14:33:33 +0800 2010","following":false,"allow_all_act_msg":false,"geo_enabled":true,"verified":false,"verified_type":200,"remark":"","status":{"created_at":"Wed Oct 22 18:55:22 +0800 2014","id":3768548000394335,"mid":"3768548000394335","idstr":"3768548000394335","text":"赞http://t.cn/R75n0JH","source_type":1,"source":"<a href=\"http://weibo.com/\" rel=\"nofollow\">微博 weibo.com</a>","favorited":false,"truncated":false,"in_reply_to_status_id":"","in_reply_to_user_id":"","in_reply_to_screen_name":"","pic_urls":[],"geo":null,"reposts_count":0,"comments_count":0,"attitudes_count":0,"mlevel":0,"visible":{"type":0,"list_id":0},"darwin_tags":[]},"ptype":0,"allow_all_comment":true,"avatar_large":"http://tp2.sinaimg.cn/1872997893/180/40019484811/1","avatar_hd":"http://tp2.sinaimg.cn/1872997893/180/40019484811/1","verified_reason":"","verified_trade":"","verified_reason_url":"","verified_source":"","verified_source_url":"","follow_me":false,"online_status":0,"bi_followers_count":138,"lang":"zh-cn","star":0,"mbtype":0,"mbrank":0,"block_word":0,"block_app":0,"credit_score":80,"urank":0}
//        uid	String	否	用户第三方编号
//screen_name	String    	否	昵称
//profile_image_url	string	否	头像
//gender	string	否	性别 1.男2.女
//access_token	string	否	访问令牌
//platform	string	否	来自平台 1.QQ 2.新浪微博
//lastlogindevicename	string	否	最近登录时设备名称
//lastloginsystemversion	string	否	最近登录时系统版
//logininfo	string	否	第三方原始信息



    }
}
